package com.hspedu.extend_.improve_;

public class Extends01 {
	public static void main(String args[])
	{
		Pupil pupil = new Pupil();
		pupil.name = "hahahehe";
		pupil.age = 12;
		pupil.testing();
		pupil.setScore(89);
		pupil.showInfo();
		
		Gruaduate gruaduate = new Gruaduate();
		gruaduate.name = "hehehaha";
		gruaduate.age = 21;
		gruaduate.testing();
		gruaduate.setScore(90);
		gruaduate.showInfo();
	}
}
